AMD IOMMU: remove a BUG_ON condition, to allow boot
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Oct 2009 14:05:46 +0000 (14:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Oct 2009 14:05:46 +0000 (14:05 +0000)
Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_init.c

index 0b8d5643b9f7357375476d007ce5782e3e9f93ec..3c8fd74667455b28d0c4135b869fd550d743e430 100644 (file)
@@ -719,7 +719,7 @@ static int __init amd_iommu_setup_device_table(void)
     int sys_mgt, dev_ex, lint1_pass, lint0_pass,
        nmi_pass, ext_int_pass, init_pass;
 
-    BUG_ON( (ivrs_bdf_entries == 0) || (iommu_enabled) );
+    BUG_ON( (ivrs_bdf_entries == 0) );
 
     /* allocate 'device table' on a 4K boundary */
     device_table.alloc_size = PAGE_SIZE <<